//
//  ProductDetailModel.h
//  LoveTravel
//
//  Created by MS on 16-1-24.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SelectionModel.h"

@class Product_Itinerary,Product_Album,Product_Location,Product_Tag,Product_Expense,Product_Details,Product_Content,Product_LikeUsers;

@interface ProductDetailModel : NSObject

@property (nonatomic, strong) Product_Itinerary *itinerary;

@property (nonatomic, strong) Product_Location *location;

@property (nonatomic, assign) NSInteger online;

@property (nonatomic, copy) NSString *title;

@property (nonatomic, copy) NSString *open_time;

@property (nonatomic, strong) Referrer *owner;

@property (nonatomic, assign) NSInteger like_count;

@property (nonatomic, copy) NSString *end_date;
/**
 *  Product_Expense
 */
@property (nonatomic, strong) NSArray *expense;

@property (nonatomic, assign) NSInteger is_liked;

@property (nonatomic, copy) NSString *short_desc;

@property (nonatomic, assign) NSInteger bg_color;

@property (nonatomic, strong) Product_Tag *tag;

@property (nonatomic, copy) NSString *schedule;

@property (nonatomic, copy) NSString *order_url;

@property (nonatomic, copy) NSString *type;

@property (nonatomic, copy) NSString *destination;
/**
 *  Product_Details
 */
@property (nonatomic, strong) NSArray *details;

@property (nonatomic, assign) NSInteger id_recomm;

@property (nonatomic, strong) NSArray *bg_pic;

@property (nonatomic, copy) NSString *sub_title;

@property (nonatomic, copy) NSString *bg_video;

@property (nonatomic, strong) Referrer *referrer;

@property (nonatomic, copy) NSString *website;

@property (nonatomic, copy) NSString *contact;

@property (nonatomic, copy) NSString *brief;

@property (nonatomic, copy) NSString *start_date;

@property (nonatomic, strong) NSArray *collections;

@property (nonatomic, copy) NSString *price;

@property (nonatomic, strong) Product_Album *album;
/**
 *    Product_LikeUsers
 */
@property (nonatomic, strong) NSArray *like_user;

@property (nonatomic, copy) NSString *address;

@end
@interface Product_Itinerary : NSObject

@end


@interface Product_Album : NSObject

@property (nonatomic, assign) NSInteger num;

@property (nonatomic, strong) NSArray *pics;

@end


@interface Product_Location : NSObject

@property (nonatomic, assign) CGFloat lat;

@property (nonatomic, assign) CGFloat lng;

@end

@interface Product_Tag : NSObject

@property (nonatomic, assign) NSInteger id_productTag;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *icon;

@end

@interface Product_Expense : NSObject

@property (nonatomic, strong) NSArray *content;

@property (nonatomic, copy) NSString *group;

@end

@interface Product_Details : NSObject

@property (nonatomic, strong) Product_Content *content;
/**
 *  type : head、text、pic 、referrer 四种
 */
@property (nonatomic, copy) NSString *type;

@end

@interface Product_Content : NSObject
/**
 *  头描述
 */
@property (nonatomic, copy) NSString *head;
@property (nonatomic,assign) CGRect headFrame;
/**
 *  文字描述
 */
@property (nonatomic, copy) NSString *text;
@property (nonatomic,assign) CGRect textFrame;
/**
 *  图片描述
 */
@property (nonatomic, assign) NSInteger height;
@property (nonatomic, assign) NSInteger width;
@property (nonatomic, assign) NSInteger image_id;
@property (nonatomic, copy) NSString *size;
@property (nonatomic, copy) NSString *url;
@property (nonatomic,assign) CGRect picFrame;
/**
 *  推荐人
 */
@property (nonatomic,assign) CGRect referrerFrame;
@end

@interface Product_LikeUsers : NSObject
/**
 *  user头像
 */
@property (nonatomic,copy) NSString *avatar;
/**
 *  user ID
 */
@property (nonatomic,assign) NSInteger id_likeUser;

@end
